package org.apache.tomcat.util.descriptor.web;

public class ServletInfoDef {
	
	//<servlet>
	private final ServletDef servlet;
	//<servlet-mapping>
	private final ServletMappingDef servletMapping;

	public ServletInfoDef(ServletDef servlet,ServletMappingDef servletMapping) {
		this.servlet = servlet;
		this.servletMapping=servletMapping;
	}

	public ServletDef getServlet() {
		return servlet;
	}

	public ServletMappingDef getServletMapping() {
		return servletMapping;
	}
	
}
